package com_.dxy_.test_.common_.pojo_;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("t_test")
public class User {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String name;

    private Integer age;

    private Double score;

    private String mobile;

    private LocalDate birthday;

    @TableLogic(value = "0")
    private Integer isDeleted;

    private LocalDateTime createdTime;
}
